﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using SqlSugar;

namespace NP.BPMReportPlatform.NCRD.Dto
{
    [ExcelExporter(Name = "NCRD委托分析申请流程", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetNCRDOutput
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }


        /// <summary>
        /// 内部编号
        /// </summary>
        [ExporterHeader(DisplayName = "内部编号")]
        public string InternalNumber { get; set; }

        /// <summary>
        /// 成本中心
        /// </summary>
        [ExporterHeader(DisplayName = "成本中心")]
        public string CostCenter { get; set; }

        /// <summary>
        /// 地址/公司
        /// </summary>
        [ExporterHeader(DisplayName = "公司")]
        public string Address { get; set; }

        /// <summary>
        /// 委托者名
        /// </summary>
        [ExporterHeader(DisplayName = "委托者")]
        public string DelegatorUserName { get; set; }

        // /// <summary>
        // /// 委托者ID
        // /// </summary>
        // [SugarColumn(ColumnDataType = "nvarchar(200)", IsNullable = true)]
        // public string DelegatorUserId { get; set; }

        /// <summary>
        /// //委托者手机号
        /// </summary>
        [ExporterHeader(DisplayName = "委托者手机号")]
        public string PhoneNumber { get; set; }

        /// <summary>
        ///  //委托者邮箱
        /// </summary>
        [ExporterHeader(DisplayName = "委托者邮箱")]
        public string DelegatorEmail { get; set; }

        /// <summary>
        /// //背景和目的
        /// </summary>
        [ExporterHeader(DisplayName = "背景和目的")]
        public string BackgroundPurpose { get; set; }


        // /// <summary>
        // /// //抄送人id
        // /// </summary>
        // [SugarColumn(ColumnDataType = "nvarchar(500)", IsNullable = true)]
        // public string CcUsersId { get; set; }

        /// <summary>
        /// //抄送人名称
        /// </summary>
        [ExporterHeader(DisplayName = "抄送人")]
        public string CcUsersName { get; set; }

        /// <summary>
        /// //本次分析费用
        /// </summary>
        [ExporterHeader(DisplayName = "本次分析费用")]
        public string AnalysisCost { get; set; }

        /// <summary>
        /// //优惠后费用
        /// </summary>
        [ExporterHeader(DisplayName = "优惠后费用")]
        public string DiscountAnalysisCost { get; set; }

        // /// <summary>
        // /// //分析人员用户id
        // /// </summary>
        // [SugarColumn(ColumnDataType = "nvarchar(300)", IsNullable = true)]
        // public string AnalystsUserId { get; set; }

        /// <summary>
        /// //分析人员用户名称
        /// </summary>
        [ExporterHeader(DisplayName = "分析人员")]
        public string AnalystsUserName { get; set; }

        // /// <summary>
        // /// //分析状态
        // /// </summary>
        // [ExporterHeader(DisplayName = "分析状态")]
        // public string AnalysisStatus { get; set; }
    }
}